package com.dy.design_pattern_study.prototype_mode.dome1;

import lombok.Data;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-03-22
 * @Content 克隆对象 必须继承 Cloneable 接口否则会报错
 */
@Data
public abstract class Prototype implements Cloneable{
    private String id;
    public abstract Prototype Clone() throws CloneNotSupportedException;
}
